package personal.zq.practice.common.utils;

import java.util.Arrays;
import java.util.List;
import lombok.extern.slf4j.Slf4j;

/**
 * @version V1.0
 * @PackageName: com.zhilingsd.cpic.marketing.business.common.utils
 * @ClassName: ESAPIUtil
 * @Description:
 * @Author roxulo
 * @Date 2021/12/16
 */
@Slf4j
public class ESAPIUtil {

    private static List<String> fileType = Arrays.asList("xls","pdf","xlsx","txt","doc","docx","bmp","jpg","png","mp3","mp4","wma","zip","rar","wav");

    /**
     * @Author roxulo
     * @Description  合法路径
     * @Date 2021/12/16 21:20
     * @param singlePath
     * @return
     **/
    public static String getValidSinglePath(String singlePath){
        return singlePath;
    }

    /**
     * @Author roxulo
     * @Description  合法路径
     * @Date 2021/12/16 21:20
     * @param multiPath
     * @return
     **/
    public static String getValidMultiPath(String multiPath){
        return multiPath;
    }

    public static String getValidUrl(String url){
        return url;
    }

    public static String getValidFileName(String fileName){
        return fileName;
    }
}
